Pilot the the reset line by two input
Just use diode logic.

The resistor is probably not needed because the Arduino has an internal pullup resistor.

This assumes that the two reset inputs are active low







simulate this circuit &ndash; Schematic created using CircuitLab