It has one electron and therefore it is in the Group 1 of the periodic table. However Group 1 is for the metals.
Chemists recognise that hydrogen is an unusual element.
Some of its chemical properties indicate that it should be placed above fluorine, element 9. Other properties suggest it should be above lithium, element 3. Hydrogen is a family in itself. But HH and HF are also similar to the hydrides and fluorides of fluorine and chlorine. It is not an ionic compound.