I am going through Strang's linear algebra video 1 (https://www.youtube.com/watch?time_continue=1131&v=ZK3O402wf1c), and he seemed to suggest that the equation:
$2x - y = 0$
is a plane in 3 dimensions. However, isn't $z$ zero in this equation? Therefore, this would describe a line in 3d not a plane. I think his logic was that the omitted term is $0z$, so $z$ can be anything.
That makes sense, but I also don't understand how the same equation can be a line in 2d but a plane in 3d.


$z$ can be anything at all in this case, yes. The reason this is a line in 2d and a plane in 3d is because in 3d there's "room" for it to grow into a plane. Similarly, this equation considered in 4d space would give a 3-dimensional hyperplane, and in $n$d space it gives an $n-1$ dimensional hyperplane, because there is "room to grow" into in all these situations.