So basically on the wire must have applied always an electrical signal in order to have a proper read of digital input, is that right?
@CrossRoads what i meant here "if wire is plugged into a breadbord, the electrical path in it is surrounded by plastic" was that one end connected to arduino, the other end plugged in a breadboard with no electrical circuits on it