A geological scan was a sensor scan that analyzed geological formations.
In 2371, when USS Voyager discovered a rogue planetoid with dilithium deposits, the away team investigating it was told by Chakotay to perform geological scans. (VOY: "Phage")
Later that year, Ensign Harry Kim performed a geological scan to analyze cave formations on Avery III. (VOY: "Faces")