This grows in Modiin, Israel. The leaves look like black locust (pseudoacacia robinia) to me, but the branches are very knobby. Can anyone identify it?
I'm really not sure, there are something familiar, but also something different.
If I should bet on something, I would bet on Ceratonia siliqua, looking on internet, sometime the leaves are similar to the plants in your photo.
For reference: I found such nice list: http://www.flowersinisrael.com/plant_list_TreesinIsrael.htm