No, sodium chloride is not a covalent compound it is an ionic compound because covalent compounds are formed by the mutual sharing of electrons.
Ionic compound is formed by the complete transfer of electrons. An ionic compound is soluble in a polar solvent whereas covalent compounds are not soluble in a polar solvent.
Hence, sodium chloride is not a covalent compound.