Your second shots sure reveal more of it then your first picture. Some kind of old iron pin?. The splitting may be cause of age and it was never intended to look like it does today?
Old nails were made of iron, wrought iron, not mild steel. Wrought iron works great when at a red heat, but cold it will split. I remember when I was a kid, I decided to make a knife out of a large spike nail. I had a piece of railroad track, so pounded the nail cold on that rail. This was a round nail, probably in the late 40's when many things were still wrought iron. The nail split lengthwise, and ended up looking a lot like your square nail. To find out more check out this site: