The incident on Thursday night triggered an amber alert.
William Cruz of Palatine and the boy were found the next day in Chicago.
The boy's mother called police after Cruz did not return her son after a trip to the grocery store.
Police say Cruz told the boy's mother they were headed to a relative's home in Chicago.
Cruz was arrested Friday night. The boy was unharmed.