Note the time that it goes low with millis( ). After 1 second, read the sensor again, if still low then do whatever.