The atomicity of hydrogen is two. It has one electron in its outermost shell and hence, the valency of hydrogen is also one. Electronic configuration does not match as the s orbital is half filled in hydrogen, which leads to s-s bonding, while p-p bonding exists in halogens, due to vacancy in p orbital.