The graph y = 0 would be a horizontal line that overlaps the x-axis. This would be a function because the y-value (zero) never has the same x-value. This means that it would pass the vertical line test since the graph would only pass through it once.
Hope this helped!
~Just a girl in love with Shawn Mendes