We study the bifurcation diagram of a mesoscopic model of the human cortex. This model is known to exhibit robust chaotic behavior in the space of parameters that model exterior forcing. We show that the bifurcation diagram has an unusual degree of organization. In particular, we show that the chaos is spawned by a codimension-one homoclinic bifurcation that was analyzed by Shilnikov in 1969 but has never before been found in a physical application.