The tourist was found on Friday after spending the night in Zedekiah's Cave, also known as Solomon's Quarries, a 20,000-square-metre area beneath the Muslim quarter of the Old City.
Israeli newspaper Haaretz reported that the 19-year-old tourist, who was not identified, hid inside the site at closing time on Thursday before digging in different areas of the cave.
Several worthless limestone rocks were found in his backpack, police said.
Haaretz reported that the odd expedition may have been linked to "Jerusalem Syndrome" -- the name given to what some tourists experience when they are overwhelmed while visiting the Holy Land due to its religious significance.
Zedekiah's Cave is the remnant of what was once the largest quarry in Jerusalem, dating back at least to the Second Jewish Temple period, from the sixth century BC to the first century AD.
Several myths are associated with the site, including treasure supposedly buried there.
Under Jewish tradition, King Zedekiah sought to escape through it during the destruction of the First Jewish Temple in 586 BC.
It has also served as a ceremonial site for Freemasons.
(This story has not been edited by NDTV staff and is auto-generated from a syndicated feed.)
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections. Election results will be out on May 23.