Since we say that sand is silicon dioxide,it is considered a compound and not a mixture?

Yes. It's chemical compound formula is SiO2.