google sheets – How to add arrayformula function to this formula with IF function?

I made a table that has two columns (namd & State). The 4th column(check) makes conditional formatting possible for any of these combinations: (if name is either “Ali” or “John”, AND state is “FL”), a conditional formatting rule is applied only if the cell value of E2 is “NO”.

I had to repeat this formula for all rows and I failed to wrap it in an arrayformula function.

I tried this but failed:

adding arrayformula: