Two lateral masses of gray matter connected by the intermediate mass?

That sounds as if it is a brain.

Another answer:

It is the Thalamus.

The thalamus consists of two lateral masses of neural tissue that are joined by a narrow isthmus of neural tissue called the intermediate mass.