For the specific state E1, we have chosen all spins up. The energy of this configuration becomes then E1=E↑↑=−J. The other configurations give E2=E↑↓=+J, E3=E↓↑=+J, and E4=E↓↓=−J.