Because that ink is ferromagnetic, a strong magnet, such as a rare earth or neodymium magnet, will attract a dollar bill, a characteristic that helps both vending machines and the automatic sorting machines at Federal Reserve banks detect counterfeits.