Yet another research question. And would you belive it, they even offer maps, timetables, and fare information! And, yes, Metra runs year round.
http://www.metrarail.com/
If you need a ride from the station to Six Flags, PACE has you covered.
http://www.pacebus.com/