Assuming that you're talking about madison's analogy in the book voices of freedom,
he compares how both political liberty and religious liberty are important elements that should be protected in the constitution but He believes that states affair and religious affairs should be separated