The scientific meaning of salt is an ionic compound that is formed when an acid and a base reaction take place and is neutralized.
The common meaning of salt (table salt) is specifically the organic mineral of sodium chloride (NaCl) and is digestible.
Ionic salts are often not digestible (or not commonly digested, anyway)