Flows only have the ability to use AND and OR between statements. Normally when dealing with logical formulas like this, there is a capability to use “AND“ or “OR“ as well as “AND NOT” and “OR NOT”. I realize you can use the "=" and "!=" to accommodate this as well, however it does make the logic often much more complex and more difficult to understand.