Polymeric membranes are widely used in separation technologies due to their low cost and easily scalable fabrication. However, unlike inorganic nanoporous materials such as metal-organic frameworks and covalent organic frameworks, which feature periodic and ordered channels, polymeric membranes produced through traditional methods—such as phase separation—typically have irregular and disordered pore structures.