Any table like this is a function as long as no x is listed twice (with different ys). This is essentially the vertical line test applied to tables.
First one is a function, no repeated xs.
Second one has two zeros, not a function.
Third one is a function, no repeated xs.
Fourth one has two twos, not a function.
First and third.