I want to create a flag in Bigquery which will return 1 when true and 0 when false. The statement works fine when it has to return the "else" valu