That happened to me too several years ago, or at least nearly. I had been laid off, and the job I took paid almost half what I was making at the company that laid me off.
In a normal, non-layoff situation, I wouldn't take a paycut. At all. There's no such thing as "the perfect job".