Spin-polarized localization in a magnetized chain