It is not a function because if you graph it, it does not pass the vertical line test in which there should be no more than one point on a vertical line.
Also, another way to check is to make sure that in the domain one number does not appear more than once in the list.