Just about every move has a use. Even the most niche, usually useless moves have a use in specific cases. Things like Splash, Celebrate, Happy Hour, and Hold Hands, moves with no effect usually, can be powered up by Z-Crystals to be significantly good.
The closest you can get to a useless move is False Swipe and Hold Back, as they can never KO.
Hope I helped!