Almost certainly Jason and the Argonauts (1963)
I don't have a clip but the Wikipedia synosis confirms a ship was crushed.
The Argonauts next meet Phineus, who has been blinded and is tormented by harpies for misusing Zeus's gift of prophesy. After the Argonauts capture and cage the harpies, Phineus tells them how to reach Colchis, by sailing between the Clashing Rocks. He also gives Jason an amulet of the sea god Triton.
The Argonauts see another ship trying to pass through the Clashing Rocks the other way, only to be crushed and sunk when the Clashing Rocks smash together.
The Argonauts rescue a survivor, Medea, high priestess of Colchis. When the Argo tries to row through, the ship appears destined for destruction as well. In despair, Jason throws Phineus's amulet into the water, whereupon Triton rises up out of the water and holds the rocks apart so the Argo can pass.
More recently, there was a TV miniseries Jason and the Argonauts (2000) which featured a similar scene.
The ship crushing scene for the this version is shown very briefly in this trailer at around 0:30.