You think that is the principle behind how two sticks or wires can detect underground water?
"Gravity and magnetic exploration can help locate minerals, faults, geothermal or petroleum resources, and ground-water reservoirs."
I also provided the link above.