Then why use it in an IIFwell, that part the user will change accordingly. that's just to show the expression is actually working fine.
The actual expression that is not working is:
IIF([shippercountry]='mexico', 'MX', 'NA') AS shippercountrymapcode
Where [shippercountry]='mexico'
1=1 is always true so you don't need IIF
the condition should be something like <variable>=<value>