mrmixer
x, y, z are the components of the known point on the plane;
x0, y0, z0 are the point that we test to see if it's on the plane;
You've got this the wrong way around. (x,y,z) is the (test) point on the plane, and (x0, y0, z0) is the reference point. Any point (x,y,z) that satisfies
ax + by + cz + d = 0
is by definition on that plane. In a sense, the d parameter encodes the "height" of the plane (along the normal). By changing the reference point (x0, y0, z0), you change d.
The beginning of this Mathworld article might be illuminating:
http://mathworld.wolfram.com/Plane.html.
Note the dot product definition. If the dot product is positive (angle less than 90 degrees), then the point (x, y, z) is "above" the plane, and ax + by + cz + d > 0. While if the dot product is negative (more than 90 degrees, then the test point is "below" the place, and ax + by + cz + d < 0.
Equivalently you could state this as:
ax + by + cz > -d, above plane
ax + by + cz < -d, below plane
ax + by + cz = -d, on plane