In order for the body of the if statement to execute, the two conditions OR'd together must be true. For OR, either statement being true will result in the result true:

OR truth table:
true ||...