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.)
Follow NDTV for latest election news and live coverage of assembly elections 2019 in Maharashtra and Haryana.
Subscribe to our YouTube channel, like us on Facebook or follow us on Twitter and Instagram for latest news and live news updates.