Sorry, i'm not familiar with this thorn tree, it doesn't look like any of the ones commonly found here.
The leaves and the bark look very similar to some south american natives like the monkey pod, but i'm not aware that it has thorns.
Cannot provide you with specific advice, but general advice would be, that your climate seems similar to mine, so this tree probably won't go properly dormant, but it might still loose leaves. The leaves folding up at night is normal for trees with these leaves, my leopard tree, money thorn, black money thorn, sweet thorn and karoo thorn all do the same. Regarding more specific advice, lets hope someone that knows this type specifically comments. Sorry