Pakistan was founded on the basis of Faith, in that the Muslim League believed that the subcontinent's Muslims needed their own state to avoid sublimation into a much larger population of Hindus. However it was not founded as an Islamic religious state.

The closest modern-day example would be Israel, which was founded as a Jewish state but not as an explicitly religious state.