Either of the lipid bilayers that surround the nucleus and form the nuclear envelope; excludes the intermembrane space. [ GOC:pz GOC:mah ]