SMILES are good for organic compounds, with well defined structure (bonds between atoms). Most inorganic compounds are more ionic and don't have easily separated molecules, so they may have well defined crystal structure (ie respective positions of atoms in the crystal) but no typical "bonds" yielding structure similar to the one in organic molecules.
IOW: SMILES are a good equivalent of stick and ball models, but not so good for infinite crystals.