How do i add the |= piece of code?

You could move the nodes for getting the value of “Is falling” to Event Graph: Update Animation and create a boolean to store the result, then get the boolean in the state machine graph.

I think it’s a problem of using values that exist outside of the Animation Blueprint within the state machine.