Remember that whether an object floats or sinks is dependent on its density in contrast to the density of the liquid. If it is less than the liquid's density, it will float. If its density is greater, it will sink.
As the wood is less dense than the water, it will float.