Answer: I can't tell from your description, but cutworms, armyworms, onion maggots, and wireworms are insects that feed on onions. The Univeristy of Wisconsin may be able to identify the pest for you. Here's their publication on onion maggots. Maybe this will help.
Q&A Library Searching Tips