Connecting two outputs together is very bad practice. Simply don't do it. Why can't you use separate pins?
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.