A magnet always attracts wood.
Materials that can be magnetised, which are also the ones that are strongly attracted to a magnet, are called magnetic materials. These include Iron, Nickel, Cobalt, some alloys of rare earth metals and some naturally occurring minerals such as lodestone. Wood is not a magnetic material.