OP wrote:
"umm cant boot at all"
Just because you "can't boot" doesn't mean the iMac's logic board is "faulty" -- until you have exhausted OTHER MEANS of booting.
A perfectly good Mac can get into a "no boot" situation if the software (OS) becomes corrupted.
What do you see and hear when you press the power-on button?
Do you see any onscreen display or alert at all?
The easiest way to check this is to try booting from an EXTERNAL drive that has a "known-good" copy of the OS on it.
Does that iMac have a DVD drive?
Were there original install DVD's that shipped with it?
Can you get ahold of a USB flashdrive that has an OS installer on it?
Do you have access to an external drive that has a bootable copy of the OS on it?
I wouldn't write it off until I tried some of the above "alternative boot" scenarios...