Illinois wiretapping law

Illinois's wiretapping law (720 Illinois Compiled Statutes 5 / Criminal Code of 2012. Article 14, also called the Illinois eavesdropping law) was a ``two-party consent'' law. Illinois made it a crime to use an ``eavesdropping device'' to overhear or record a phone call or conversation without the consent of all parties to the conversation. The law was ruled unconstitutional in 2014 by the Illinois Supreme Court. The law defined an ``eavesdropping device'' as ``any device capable of being used to hear or record oral conversation or intercept, retain, or transcribe electronic communication whether such conversation or electronic communication is conducted in person, by telephone, or by any other means''. The law had been repeatedly and controversially used to arrest people who have video-taped police.

Question: is it illegal in illinois to record a conversation
Answer: yes