Add Boolstate and STATE1 for logicop