Question: what is the equation to determine?
Answer: An equation is a function if and only if for every value of x there is only one corresponding value for y. This is a relation not a function because for one value of x (say 0) there are 2 values of y (-1 & 1). no line parallel to the y-axis can be drawn that intersects the graph at 2 or more points.