You use it in expressions such as it's not that or it's not simply that when you are giving a reason for something and are suggesting that there are several other reasons.
It's not that I didn't want to be with my family.
It's not just that a gulf exists in living standards–there's a psychological ravine.