Technically, he's using relational operators
if/else are conditionals that evaluate the boolean datatypes that result from the relational operation.
Is it breaking the rule? Not really.
Is it a loophole? Probably.
The original question probably intended it to mean "no comparing" rather than "no conditional statements"