Without dissasembly, there is no way to be absoulty certain, but you can get an idea by looking at the block stamp. See red circle below...
It should say L28 if it came from a 280Z/ZX
Also, the blue circle is the head casting. Might say N42, P90, etc. Use our search function to learn more about that specific head.