3. The verb in an or, either/or, or neither/nor sentence agrees with the noun or pronoun closest to it.
Examples:
Neither the plates nor the serving bowl goes on that shelf.
Neither the serving bowl nor the plates go on that shelf.
This rule can lead to bumps in the road. For example, if I is one of two (or more) subjects, it could lead to this odd sentence:
Awkward: Neither she, my friends, nor I am going to the festival.
If possible, it's best to reword such grammatically correct but awkward sentences.
Better:
Neither she, I, nor my friends are going to the festival.
OR
She, my friends, and I are not going to the festival.