This phrase is used to describe someone who is crazy or behaves in an unpredictable or eccentric manner. Literally, it translates to 'be a crazy person to the coconut tree', but the reference to the coconut tree doesn't have a specific meaning in this context.
Examples
- Spanish: Juan siempre está haciendo cosas extrañas, es un loco a la mata de coco.
- English: Juan is always doing strange things, he is crazy as a coconut tree.