You searched for: “ammophily
ammophily (s) (noun), ammophilies (pl)
The preference of a life form for dwelling in sand: Ammophily can be demonstrated by the sand wasp that typically digs burrows in sand!