Can I claim the energy credit if I file a simple 1040 at no-cost?

Or do I have to itemize deductions?