You will always want to mention that you were working during that time, since that looks better than being unemployed. If you don't want to mention the job you did, you could list it as "non-relevant employment", but during most interviews this will come up and you will be asked what this 'non-relevant employment' was.
However, in virtually any job there is some aspect that is relevant to other jobs. Try to take a step back and look at the work you did. Write down for yourself what your responsibilities were and what activities you did, and then see if any of those could be relevant to your regular field of work. If there's nothing, just write the experience in a single line, for example:
January 2013 - December 2014: Assembly line worker at MegaCorp Inc.
Otherwise, list it like you would list another job: similarly to the above, but add what you've learned/done there that will make you better at your new job.
In my personal opinion, you have nothing to lose: showing that you were working whatever job you could find to support your family speaks of strength of character and will probably make a potential employer more likely to hire you.