It's the subjunctive mood, here used in a situation of "contrary-to-fact". The subjunctive is barely in use recently, but those of us who like it hang onto it with some zeal. A thorough explanation of it probably exists somewhere online.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.