To photograph a building? You can take a photograph of the Knesset building and no one will ask any questions! It may be the norm in a paranoid dictatorship to arrest tourists for taking pictures, but not in a free society such as Israel or the US, or any European country.
Egypt to hold parliamentary election in 2 phases starting Oct 18-19 (Reuters)
from the article: Israeli held in Libyan prison freed in secret deal