*if (((x) and (y)) and (z)) is acceptable format for three.
I believe the above needs an additional left parenthesis:
*if ((x) or (y))
Note this thread: