Check the data sheet for the DS3231, the interrupt output is open drain, but there is generally a pull-up resistor installed on most clock boards. An inline resistor would solve the situation where the interrupt occurs while the arduino is outputting a HIGH.