How do I select vertices that are directly under the other?
In edit mode disable Limit Selection to Visible.



An alternative approach is to switch to Wireframe Mode with the Z key.



Blender 2.8

In 2.8, these tools have changed location: