How do I find the first item in the post array?

You can get first item using this code

<?php

global $post;

$the_post_ID = $post->ID;

$n = get_posts();
$i=1;
?>


<?php foreach ( $n as $post ) : ?>

<nav id="postNav">

<ul>
<li<?php if ($i){ echo ' class="current"'; $i=0; }?>>
    <a href="https://wordpress.stackexchange.com/questions/88596/<?php the_permalink(); ?>" title="<?php printf( esc_attr__(     'Permalink to %s', 'twentyten`enter code here`' ), the_title_attribute( 'echo=0'         ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
   </li></ul>

<?php endforeach; ?>