ASE Linear analysis - using if condition with two not equal expressions

This is literally the same question: