Since the majority of the parts in hearing aids are plastic, they shouldn’t set off any metal detectors.
If you’re at an airport and they ask you to remove your devices so that they can be x-rayed, you can tell the TSA official that you’d prefer to have a manual, physical inspection of the devices. Visit www.tsa.gov for more information.