You are testing sensorPin1Value but you never set it to anything. Copy and paste of sensorPinValue statements has bitten you badly.
You are testing sensorPin1Value but you never set it to anything. Copy and paste of sensorPinValue statements has bitten you badly.