but in another reference of rare and exotic manifestations he discovered the following : the jerusalem syndrome is a group of mental phenomena involving the presence of either religiously themed obsessive ideas , or delusions that are triggered by , or lead to , a visit to the city of jerusalem .