The documentation for the IN function is somewhat unclear. The function definition shows examples such as:
IN(number x, number y1, ... yn)
and
IN(number x, y1...yn)
Whereas it's usage is:
x IN (y1, ... yn)
and
x IN (y1...yn)
respectively
This is confusing as x does not appear in the function arguments.