Google-sheets : arrayformula() didn’t work

This is my sheet :
enter image description here

I want to check if both A and B are 0 and return TRUE if yes. In D1, i simply use :

and(A1=0,B1=0)

it works in column D. But in column E, i want to do the same but this time using arrayformula()

=ARRAYFORMULA(and(A1:A=0,B1:B=0))

It’s not working. Does anyone know how to fix it?