You can use Sign() with the (Condition)+(Condition) to Cleanly cap at 1.
So for your example:
SIGN( (A1:A3 > 0) + (B1:B3 > 0) )
SIGN Array OR Example