Generally, a membrane is water permeable if it contains a sufficient number of groups having a sufficient degree of polarity, especially if it contains groups which are amenable to hydrogen bonding.
A membrane is gas permeable if it contains a sufficient degree of free volume.