Among these variables, lymph node metastases count (OR = 1.113, 95% CI: 1.05–1.15, P < 0.001) and thyroglobulin (Tg, OR = 1.025, 95% CI: 1.01–1.03, P < 0.001) exhibited the strongest associations with metastasis risk. This evidence concerns the gene TG and metastatic malignant neoplasm in the lymph nodes.