A staff member found the device in a restroom at Highland Park High School.
The investigation found that recordings had been made in the past at Edgewood Middle School.
A student has been identified as the suspect.
The city of Highland Park, North Shore School District 112 and Township High School District 113 say they are confident the recordings have stopped.