Logic and reason in understanding Islam