The metal nails are detected by a magnetic stud finder. ... Some electronic stud finders can see wires behind walls. If you find your wires, you can use a voltage detector to see if the wires are live.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.