Arduino get data from Wall light switch

Smackflad:
I am trying to control the relay from the switch but the output of the switch gives random 1 and 0 when it's off and 0s when it's on... Is there a solution for this?....

See #24.