<h2>Can someone explain this in more detail to me?</h2>
<p>If and is used to connect the nouns in a compound subject and the noun closest to the verb is singular, the verb may be either singular or plural:
There is a muffin, hats, and an artist in the locker. or</p>
<p>There are a muffin, hats, and an artist in the locker.</p>
<h2>Note that this final rule is unique to inverted verb structures in which expletive pronouns appear.</h2>
<p>I was always taught "and" always indicates a plural</p>