Press into the flesh. It should be firm and not mushy as this keeps it in shape when cooked. Make sure to also feel for a heavy one with a rich green color. A ripe squash will also sound hollow when you tap on it.