Process XOR gateway expression

I would like to evaluate a date within the XOR gate. 

Something like this..

Process Variable pv!effectiveDate

if the value of effectiveDate is greater than the 20th of current month, then go one way, else the other.

However, I am getting an error:

XOR An error occurred while evaluating expression: =if(pv!effectiveDate>day(20)) (Expression evaluation error at function 'if': Invalid number of parameters, function 'if' a minimum of 3 parameters (condition,true,false), passed 1.) (Logic Output)

  Discussion posts and replies are publicly visible