What determines whether an object in liquid will float or sink?
It the weight of the object is greater than the upthrust from the water, it will sink.
If the upthrust from the water is greater than the weight of the object, it will float.
Another way to think about it is that if the object is more dense than water it will sink.