> maybe I'd use 1 - axis to make the intent more clear. I'm not entirely sure why this is working now actually. Isn't the not returning a bool?

Yes, but bools get cast to 0 or 1