Since you hit sand, there is a chance you avoided structural damage, but there is not guarentee, really what matters is the previous condition of the hull prior to the running aground. If it was an older hull and had some rotting already or water seepage, there is a chance the collision could have compromised the strength of the stringers or bulkheads. If it is a newer boat, there is a lot less chance, but still a chance. If there are no visable warps in the hull that is a good sign, but yet again not a sure bet. The only real way to tell is to open all your deck plates where the hull hit first and check it by eye for cracks and such. Hulls are built with a factor of safety, so this impact should not damage the structure, but things that can alter this are poor build quality...air bubbles not rolled out in the resin, or air pockets between layers of mat, this can significantly decrease the strenght of your hull structure. The other place to peak at is the transom to stringer connection since this likely took even more stress and strain from the impact then the point of impact itself. Here, you have the weight of the engines, the forces applied, and then a sudden jolt/stop from the hull, they all will meet here. This area is overbuilt, but in this type of collision the most likely spot for damage overall. Check both inside and outside for cracks, check along the transom where the engines are mounted as well, any cracks you did not notice before would need to be checked out and might need proper attention.
Hopefully your hull is fine, I've seen boats run over jetties and most of the damage was from the jagged edges, not the impact itself so hopefully you will be safe, but I would give the 2 areas I mentioned a through checking to be sure.