This question already has an answer here:
look at these two sentences:
neither the coach nor the players are going to the beach.
neither the players nor the coach is going to the beach.
why does one sentence use "are" while the other has "is"?
does it have something to do with the arrangement of subjects or is there any other reason?