A pharmaceutical hydrogen-bonded covalent organic polymer (pha-HCOP-1) is constructed with the formation of two types of bonds using the pharmaceutical isoniazid as a bifunctional linker. The as-synthesised pha-HCOP-1 exhibits good adsorption ability for iodine molecules.