Depends on what you're looking for in a marriage, I think. Communication and sharing of ideas/beliefs is not so important in all cases. If it is, however, having a common ground for communication is very helpful, especially when it comes to sensitive subjects such as spirituality/religion/personal beliefs.