How can mercury harm the nervous system?

Possible. Metallic mercury itself will be unlikely to harm nervous system, but organic mercury compounds could be very toxic and dangerous.