Bitwise operation in a template Template

Well that took a lot of wasted effort before I tried…

{{ states("sensor.owl_intuition_heating_state") | int | bitwise_and(1) }}

{{ ...}} not {%...%}

What a weird language this is. I should add that this is all new to me.