If and statements

I am trying to generate a value of 1 from multiple variables being true.

IF(app.variable1==1) and (app.variable2==1) then 1 otherwise 0

Can someone please help me with this functionality. I’ve tried many configurations over several hours without any success. I don’t see an AND functionality in the software and I can’t get any combination of IF statements to work.

Thank you

The symbols below should help:
AND: &&
OR: ||
NOT: !

Thank you again for your help!