WHERE {thistable}.field2='1'
Literally {thistable}, it's replaced by Fabrik with the table alias which is not fixed, depending on other joins or elements you are using
=1 because you are working on MySQL level, i.e. with the raw database table/column values (yes/no are the labels, not stored in the database).